
{{include file ="admin/header.tpl"}}
{{include file ="admin/navibar.tpl"}}
{{include file ="admin/sidebar.tpl"}}

<script src="{{$smarty.const.WEBSITE_URL}}/public/assets/js/admin/postCategory/tree.js"></script>
<script src="{{$smarty.const.WEBSITE_URL}}/public/assets/js/admin/postCategory/postCategory.js"></script>

<style type="text/css">
div#rMenu {position:absolute; visibility:hidden; top:0; background-color: #555;text-align: left;padding: 2px;}
div#rMenu ul li{
	margin: 1px 0;
	padding: 0 5px;
	cursor: pointer;
	list-style: none outside none;
	background-color: #DFDFDF;
}
	</style>
	
<div class="content">
	
	<!-- 表格头部开始 -->
	<div class="header">
		<div class="stats"><p class="stat"></p>
		</div>
		<h1 class="page-title">文章分类管理</h1>
	</div>
	<!-- 表格头部结束 -->
	
	<div class="container-fluid">
		<div class="row-fluid">
			
			<div id="content" class="span10 bgcolor_whilt">
				<div class="box-content">
					
					<div class="span4">
					 	<ul id="tree" class="ztree" style="width:260px; overflow:auto;"></ul>
					</div>
					
					<div class="span6">
						<div class="container"> 
							<div class="row">  
								选择一个节点进行操作
							</div>
							<div class="row">  
								<div class="span1 btn-group"> 
									<button id='newNode' class="btn">新增</button>
								</div>  
								
								<div class="span1 btn-group">
									<button id='modNode' class="btn">修改</button>
								</div>  
								
								<div class="span1 btn-group">
									<button id="delNode" class="btn">删除</button>
								</div>  
							</div>  
						 	<div class="row">  
						
								<div id="menu_operate"  style="display:none;"> 
							        	<input type="hidden" id="category_id" name="category_id" value="0" /> 
							        	<input type="hidden" id="parentId" name="parentId" value="0" /> 
									  <div class="control-group">
									    <label class="control-label" for="inputEmail">分类名称</label>
									    <div class="controls">
									      <input type="text" id="category_name" name="category_name" placeholder="分类名称">
									    </div>
									  </div>
									   <div class="control-group">
									    <label class="control-label" for="inputEmail">分类描述</label>
									    <div class="controls">
									      <input type="text" id="description" name="description" placeholder="分类描述">
									    </div>
									  </div>
									  <div class="control-group">
									   <label class="control-label" for="inputEmail">显示顺序</label>
									    <div class="controls">
									      <input type="text" id="c_index" name="description"  placeholder="显示顺序">
									    </div>
									  </div>
									  <div class="control-group">
									    <div class="controls"> 
									      <button id="submit" type="submit" class="btn"></button>
									    </div>
									  </div>
								 </div>
		 
							</div>  
						</div>  
						
					</div>
					
			  	</div>
			</div>
			
		</div> 
 	</div>
</div>	
{{include file="admin/footer.tpl" }}
